<!DOCTYPE Html>
<html>
    <head>
        <title></title>
        <meta charset="utf-8">
    </head>
    <body>
        <?php require_once "code.php";
            $res = getCode(2,4);
            var_dump($res);
        ?>
        <img src="<?php require_once 'code.php'?>">
    </body>
</html>